Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: frames identityToken syntax #5459

Closed
wants to merge 9,290 commits into from

Conversation

defispartan
Copy link
Contributor

Revert change to identityToken syntax for frames untrustedData

bce0f53

bigint added 30 commits October 26, 2024 12:39
Summary: Added Redis caching for list operations to improve performance.

Highlights:

• Implemented `getRedis` and `setRedis` for fetching and storing list data in cache.
• Introduced `delRedis` to clear cache on list updates, deletions, and profile changes.
• Enhanced list fetching with cache checks to return cached data when available.

Read more: https://pierre.co/hey/hey/yoginth/eng-256
…1027085417)

Summary: Updated dependencies in `package.json` files for `api` and `cron` apps.

Highlights:

• Upgraded `tsx` from `^4.19.1` to `^4.19.2`.
• Upgraded `@faker-js/faker` from `^9.0.3` to `^9.1.0`.

Read more: https://pierre.co/hey/hey/update-dependencies-20241027085417
…k-file-20241027192119)

Summary: Updated package lock file to reflect dependency changes.

Highlights:

• Modified `package-lock.json` to update dependency versions.
• No changes to source code or functionality.
• Ensures consistency with the latest package versions.

Read more: https://pierre.co/hey/hey/update-lock-file-20241027192119
Summary: List feature flags removed, making the list feature public.

Highlights:

• Removed `useFlag` import and `isListsEnabled` check from `FeedType.tsx`.
• Eliminated conditional rendering for "Lists" tab in `FeedType.tsx`.
• Deleted `useFlag` import and conditional return in `AddToList.tsx`.

Read more: https://pierre.co/hey/hey/yoginth/eng-263
Summary: Moved feed types to a global package by relocating enums from `src/enums.ts` to `packages/data/enums.ts`.

Highlights:

• Deleted `src/enums.ts` and added its contents to `packages/data/enums.ts`.
• Updated imports in components to use enums from `@hey/data/enums`.
• Ensured all components reference the new global enums location.

Read more: https://pierre.co/hey/hey/yoginth/eng-264
…update-dependencies-20241028092326)

Summary: Updated `uuid` dependency to version 11.0.1 in both API and web applications.

Highlights:

• Bumped `uuid` from 10.0.0 to 11.0.1 in `apps/api/package.json`.
• Bumped `uuid` from 10.0.0 to 11.0.1 in `apps/web/package.json`.

Read more: https://pierre.co/hey/hey/update-dependencies-20241028092326
…isting attachments (#yoginth/eng-266)

Summary: Refactored attachment handling to disable certain uploads based on existing attachments.

Highlights:

• Introduced `disableOtherUpload` to manage non-image upload disabling.
• Updated `disableImageUpload` logic and UI opacity for clarity.
• Applied consistent disabling logic across GIF and Livestream components.

Read more: https://pierre.co/hey/hey/yoginth/eng-266
Summary: Removed `React.` prefix from type imports and replaced `React.createElement` with `createElement`.

Highlights:

• Updated type imports to remove `React.` prefix in multiple components.
• Replaced `React.createElement` with `createElement` in `Typography.tsx`.
• Added missing type imports like `ReactNode`, `SyntheticEvent`, and `MouseEvent`.

Read more: https://pierre.co/hey/hey/yoginth/eng-267
…k call every time (#yoginth/eng-268)

Summary: Implemented optimistic navigation for publications and improved comment field handling.

Highlights:

• Introduced `useOptimisticNavigation` to preload publications, reducing network calls.
• Enhanced `CommentFields.graphql` with `CommentOnFields` for better nested comment handling.
• Updated `seedProfileTheme.ts` to create multiple profile themes.

Read more: https://pierre.co/hey/hey/yoginth/eng-268
…ies-20241029101107)

Summary: Updated various dependencies across multiple `package.json` files.

Highlights:

• Upgraded `uuid` to `^11.0.2` and `vitest` to `^2.1.4`.
• Updated `@types/node` to `^22.8.2` in several packages.
• Incremented versions for `@graphql-codegen` and `chart.js`.

Read more: https://pierre.co/hey/hey/update-dependencies-20241029101107
Yoginth and others added 27 commits November 23, 2024 12:53
…11-24-10-07)

Summary: Updated dependencies across all packages.

Highlights:

• Upgraded `@tanstack/react-query` from version 5.61.0 to 5.61.3 in `package.json`.

Read more: https://pierre.co/hey/hey/update-dependencies-2024-11-24-10-07
…2024-11-25-21-46)

Summary: Updated dependencies across multiple packages.

Highlights:

• Upgraded `viem` from `^2.21.49` to `^2.21.50` in `api`, `web`, and `helpers`.
• Updated `react-virtuoso` from `^4.12.1` to `^4.12.2` in `web`.
• Bumped `tailwind-merge` from `^2.5.4` to `^2.5.5` in `ui`.

Read more: https://pierre.co/hey/hey/update-dependencies-2024-11-25-21-46
Summary: Added new GraphQL documents for indexing accounts, groups, posts, and timelines.

Highlights:

• Introduced `GroupFields` and `PostBaseFields` fragments for structured data retrieval.
• Created queries `FullAccount`, `Group`, `Groups`, `Timeline`, `WhoActedOnPost`, and `WhoReferencedPost`.
• Refactored `PostFields` to utilize `PostBaseFields` for nested post structures.

Read more: https://pierre.co/hey/hey/indexer-codegen
Summary: Added new GraphQL mutation and query documents for account and post operations.

Highlights:

• Introduced mutations like `Challenge`, `Refresh`, `Follow`, `Mute`, `Unfollow`, `Unmute`, `AddReaction`, `BookmarkPost`, `HideReply`, and `UndoReaction`.
• Added `AccountsAvailable` query to check available accounts.
• Each mutation handles specific request and response types.

Read more: https://pierre.co/hey/hey/indexer-codegen
Summary: Added new GraphQL mutation documents for account operations.

Highlights:

• Introduced `Block.graphql` and `Unblock.graphql` for account blocking/unblocking.
• Added `CreateAccountWithUsername.graphql` for account creation with username.
• Updated `Follow.graphql` and `Unfollow.graphql` to include detailed transaction reasons.

Read more: https://pierre.co/hey/hey/indexer-codegen
Summary: Added new GraphQL documents for handling notifications, account management, and transaction queries.

Highlights:

• Introduced fragments for various notification types like `CommentNotificationFields` and `FollowNotificationFields`.
• Added mutations for account management, including `AddAccountManager` and `RemoveAccountManager`.
• Implemented queries for notifications and transaction status, such as `Notifications` and `TransactionStatus`.

Read more: https://pierre.co/hey/hey/indexer-codegen
Summary: Renamed `identityToken` to `idToken` across multiple middleware and route files.

Highlights:

• Updated token variable from `identityToken` to `idToken` in middleware functions like `validateHasCreatorToolsAccess`.
• Adjusted token usage in route handlers such as `analytics/impressions.ts` and `clubs/join.ts`.
• Modified headers and payload parsing to use `idToken` consistently.

Read more: https://pierre.co/hey/hey/indexer-codegen
…2024-11-26-15-05)

Summary: Updated dependencies across multiple packages.

Highlights:

• Upgraded `@aws-sdk/client-s3` to `^3.700.0` in several packages.
• Updated `axios` to `^1.7.8` in multiple packages.
• Bumped `@types/node` to `^22.10.0` in various packages.

Read more: https://pierre.co/hey/hey/update-dependencies-2024-11-26-15-05
Summary: Migrated to Lens v3 by removing outdated GraphQL queries and generated TypeScript types.

Highlights:

• Deleted multiple GraphQL query files like `Notifications.graphql` and `Profile.graphql`.
• Removed `UserSigNoncesSubscription.graphql` subscription file.
• Deleted `generated.ts`, which contained TypeScript types for the removed queries.

Read more: https://pierre.co/hey/hey/lens-v3
Summary: Renamed `profile` references to `account` across API routes and tests.

Highlights:

• Changed `profilePermission` to `accountPermission` in permission handling.
• Updated `profileStatus` to `accountStatus` in status management.
• Adjusted test cases to reflect the renaming of `profile` to `account`.

Read more: https://pierre.co/hey/hey/lens-v3
Summary: Refactored account handling to use `address` instead of `id` and updated queries for Lens v3.

Highlights:

• Replaced `currentAccount?.id` with `currentAccount?.address` across components for consistency.
• Updated `useCurrentProfileQuery` to `useMeQuery` in `Layout.tsx`.
• Changed `sessionProfileId` to `sessionAccountId` in session handling functions.

Read more: https://pierre.co/hey/hey/lens-v3
Summary: Refactored account handling to use `owner` instead of `ownedBy.address` and updated GraphQL mutations and queries.

Highlights:

• Replaced `currentAccount?.ownedBy.address` with `currentAccount?.owner` across components.
• Updated GraphQL mutations: `AssignUsernameToAccount`, `EnableSignless`, `ReportAccount`, `CreateGroup`, and `ReportPost`.
• Modified `Me.graphql` to use `loggedInAs` instead of `account`.

Read more: https://pierre.co/hey/hey/lens-v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants